package dao;

import modle.vo.GetGoodsByTypeVO;
import modle.Goods;
import modle.Spec;
import modle.Type;

import java.util.List;

/**
 * @Author: ZeYu
 * @Date: 2022/3/15 20:56
 */
public interface GoodsDao {
    List<Type> getType();

    List<GetGoodsByTypeVO> getGoodsTypeId(int typeId);

    void addGoods(Goods goods);

    int selectMaxId();

    void addSpec(List<Spec> specList);
}
